package com.infoland.afanmall.base.dialog;

import android.view.View;
import android.widget.LinearLayout;

import com.infoland.afanmall.R;
import com.infoland.afanmall.model.guiGe.entity.ViewHolder;

import butterknife.BindView;
import butterknife.OnClick;

/**
 *
 */

public class ShareDialogFragment extends BaseNiceDialogFragment {

    @BindView(R.id.share_preson)
    LinearLayout sharePreson;
    @BindView(R.id.share_quan)
    LinearLayout shareQuan;
    @BindView(R.id.share_back)
    LinearLayout shareBt;

    @Override
    public int intLayoutId() {
        return R.layout.open_share;
    }

    @OnClick({R.id.share_preson, R.id.share_quan, R.id.share_back})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            /***分享给好友*/
            case R.id.share_preson:

                break;
            /***分享到朋友圈*/
            case R.id.share_quan:

                break;
            /***退出*/
            case R.id.share_back:
                this.dismiss();
                break;
        }
    }

    @Override
    public void convertView(ViewHolder holder, BaseNiceDialogFragment dialog) {

    }

}

